Auto merge of #4305 - nodakai:fix-4278-tests-on-empty-ld_library_path, r=matklad
authorbors <bors@rust-lang.org>
Fri, 21 Jul 2017 20:52:24 +0000 (20:52 +0000)
committerbors <bors@rust-lang.org>
Fri, 21 Jul 2017 20:52:24 +0000 (20:52 +0000)
commit47783c151dcfcd3b835cd2012bfc2810c0f8d017
tree817830b936d76bc5871be93d9c71301f2efa27bd
parent46bb38aa29bff35bc37a978d38b3840cb37b7532
parent2683d0e99e379c0124ae96d2f0566fde46b2b92f
Auto merge of #4305 - nodakai:fix-4278-tests-on-empty-ld_library_path, r=matklad

tests/build.rs: remove empty components from LD_LIBRARY_PATH to fix #4278

The tests intended to ensure Cargo wouldn't mistakenly add empty components to `LD_LIBRARY_PATH` (or its equivalents) but they could fail when the test runner already had empty components in `LD_LIBRARY_PATH` from their environment.